package com.gitee.cirnochat.user.model.vo.req.friend;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
@Schema(name = "好友备注请求", description = "好友备注请求")
public class FriendMarkRequest {
    @Schema(description = "好友ID", example = "114514")
    private Long friendId;
    @Schema(description = "备注信息", example = "好友备注")
    @Size(max = 60, message = "备注信息长度不能超过60个字符")
    @NotEmpty(message = "备注信息不能为空")
    private String remark;
}
